<h3>Invite a Friend to {SITE_TITLE}</h3>

<!-- IF S_CANNOT_INVITE -->
<p>Sorry, you have no invites left to send.</p>
<!-- ELSE -->

<!-- IF MAX_INVITES -->
<p>You have sent {INVITES_SENT} of {MAX_INVITES} invites.</p>
<!-- ENDIF -->

<p>Invite a friend to join {SITE_TITLE}, just enter their e-mail address below:</p>
<form action="{S_ACCOUNT}" method="post">
<fieldset>
		<legend>Invite a Friend to {SITE_TITLE}</legend>
		<dl>
			<dt><label for="name">Name:</label></dt>
			<dd><input type="text" id="name" name="name" /></dd>
			<dt><label for="email">E-mail:</label></dt>
			<dd><input type="email" id="email" name="email" /></dd>
			<dt></dt>
			<dd><input type="submit" name="send" value="Send Invite" /></dd>
		</dl>
		<input type="hidden" name="module" value="friends" />
		<input type="hidden" name="sub" value="invite" />
    <input type="hidden" name="save" value="" />
</fieldset>
</form>

<!-- IF S_CAN_INVITE -->
<h3>Referral Link</h3>
<p>Refer people to join {SITE_TITLE} by providing the below link. Each new user will use your invite quota.</p>
<input type="text" value="{U_REFERRAL}" style="width: 50%;" />
<!-- ENDIF -->

<h3>Import Contact List</h3>
<p>Import your entire contact list to {SITE_TITLE}. Matching e-mails will be made your friend, and invitations will be sent to users not already using the service.</p>
<p>{SITE_TITLE} supports any kind of text file that contains e-mail addresses. Supported Types are Windows Live Messenger contact files (.ctt), and CSV files (though anything plain text containing an e-mail address will work).</p>
<form action="{S_ACCOUNT}" method="post" enctype="multipart/form-data">
<fieldset>
		<legend>Import Contact List</legend>
		<dl>
			<dt><label for="name">File:</label></dt>
			<dd><input type="file" id="contacts" name="contacts" /></dd>
			<dt></dt>
			<dd><input type="submit" name="send" value="Import" /></dd>
		</dl>
		<input type="hidden" name="module" value="friends" />
		<input type="hidden" name="sub" value="invite" />
    <input type="hidden" name="save" value="" />
</fieldset>
</form>
<!-- ENDIF -->